//
//  BanJiXueShengView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/15.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BanJiXueShengCell.h"
#import "BanJiViewListTopHeader.h"
#import "SJXQHeaderTitleView.h"
#import "BanJiListTopDetailModel.h"
#import "BanJiStudentListModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol BanJiXueShengViewDelegate <NSObject>

- (void)addBanJiXueShengView:(BanJiStudentListModel *)model;

@end

@interface BanJiXueShengView : UIView<UITableViewDelegate,UITableViewDataSource>{
    int pageIndex;
    int pageSize;
}
@property (nonatomic, strong) UITableView *tableList;
@property (nonatomic, strong) BanJiViewListTopHeader *headerView;
@property (nonatomic, assign) CGFloat mainw;
@property (nonatomic, strong) NSMutableArray *dataArray;
@property (nonatomic, strong) SJXQHeaderTitleView *titleView;
@property (nonatomic, strong) BanJiListTopDetailModel *mainModel;
@property (nonatomic, strong) NSString *courseName;
@property (nonatomic, strong) NSString *renKeLaoShiName;
@property (nonatomic, strong) NSString *students;
@property (nonatomic, copy) NSString *classID;
@property (nonatomic, assign) id<BanJiXueShengViewDelegate>mainDelegate;
@property (nonatomic, assign) BOOL haveLoad;
- (void)updateModel;
- (void)getBanJiXueShengRequest;

/**
 重置pageIndex
 */
- (void)reloadIndex;
- (void)getBanJiXueShengRequest;
@end

NS_ASSUME_NONNULL_END
